The tractability frontier of well-designed SPARQL queries
نویسنده
چکیده
We study the complexity of query evaluation of SPARQL queries. We focus on the fundamental fragment of welldesigned SPARQL restricted to the AND, OPTIONAL and UNION operators. Our main result is a structural characterisation of the classes of well-designed queries that can be evaluated in polynomial time. In particular, we introduce a new notion of width called domination width, which relies on the well-known notion of treewidth. We show that, under some complexity theoretic assumptions, the classes of welldesigned queries that can be evaluated in polynomial time are precisely those of bounded domination width.
منابع مشابه
On tractable query evaluation for SPARQL
Despite much work within the last decade on foundational properties of SPARQL – the standard query language for RDF data – rather little is known about the exact limits of tractability for this language. In particular, this is the case for SPARQL queries that contain the OPTIONALoperator, even though it is one of the most intensively studied features of SPARQL. The aim of our work is to provide...
متن کاملBeyond Well-designed SPARQL
SPARQL is the standard query language for RDF data. The distinctive feature of SPARQL is the OPTIONAL operator, which allows for partial answers when complete answers are not available due to lack of information. However, optional matching is computationally expensive – query answering is PSPACE-complete. The well-designed fragment of SPARQL achieves much better computational properties by rest...
متن کاملPRONA: A Plugin for Well-Designed Approximate Queries in Jena
The time of answering a SPARQL query with its all exact solutions in large scale RDF dataset possibly exceeds users’ tolerable waiting time, especially when it contains the OPT operations. It becomes essential to make a trade-off between the query response time and solution accuracy. We propose PRONA an plugin for well-designed approximate queries in Jena, which provides help for users to answe...
متن کاملA Static Analysis and Optimization of Semantic Web Queries
Static analysis is a fundamental task in query optimization. In this paper we study static analysis and optimization techniques for SPARQL, which is the standard language for querying Semantic Web data. Of particular interest for us is the optionality feature in SPARQL. It is crucial in Semantic Web data management, where data sources are inherently incomplete and the user is usually interested...
متن کاملCONSTRUCT Queries in SPARQL
SPARQL has become the most popular language for querying RDF datasets, the standard data model for representing information in the Web. This query language has received a good deal of attention in the last few years: two versions of W3C standards have been issued, several SPARQL query engines have been deployed, and important theoretical foundations have been laid. However, many fundamental asp...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1712.08809 شماره
صفحات -
تاریخ انتشار 2017